package com.lj.back.manage.scaffold.common.annotation.convert;

import com.lj.back.manage.scaffold.common.response.Response;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 转换枚举
 * @author lv
 * @version 1.0.0
 */
@Target({ ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface EnumConvert {

    /**
     * 指定转换的枚举类
     */
    Class<? extends Enum<? extends Response>> value();
}
